package com.sykj.bsc.jhy.service.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sykj.bsc.jhy.entity.Bis_nurse_type;
import com.sykj.bsc.jhy.mapper.Bis_nurse_typeMapper;
import com.sykj.bsc.jhy.service.Bis_nurse_typeService;

@Service
public class Bis_nurse_typeServiceImpl implements Bis_nurse_typeService {

	@Autowired
	Bis_nurse_typeMapper mapper;

	// 查询分类列表
	@Override
	public List<Bis_nurse_type> selectBis_nurse_type(Bis_nurse_type bnt) {
		return mapper.selectBis_nurse_type(bnt);
	}

	// 删除分类列表记录
	@Override
	public void delBis_nurse_type(String type_id) {
		mapper.delBis_nurse_type(type_id);
	}

	//新增分类
	@Override
	public void addBis_nurse_type(Bis_nurse_type bnt) {
		mapper.addBis_nurse_type(bnt);
		
	}
	//修改项目信息
	@Override
	public void updateBis_nurse_type(Bis_nurse_type bnt) {
		mapper.updateBis_nurse_type(bnt);
		
	}

	@Override
	public Bis_nurse_type queryBytype_id(String type_id) {
		return mapper.queryBytype_id(type_id);
	}

}
